package com.Shoping.entity;

import java.util.Date;

public class User {

    private Integer uId;       // 用户主键
    private Integer oNumber;   // 用户主键
    private Integer sId;       //购物车主键
    private String uUsername;  //用户名
    private String uPassword;  //用户密码
    private String uName;      //用户姓名
    private Date uBirthday;   //用户生日
    private String uSex;       // 用户性别
    private String uImg;      // 用户头像地址
    private Integer uCategory; //0为普通身份，1为管理员
    private String uArea;      //账号地区

    @Override
    public String toString() {
        return "user{" +
                "uId=" + uId +
                ", oNumber=" + oNumber +
                ", sId=" + sId +
                ", uUsername='" + uUsername + '\'' +
                ", uPassword='" + uPassword + '\'' +
                ", uName='" + uName + '\'' +
                ", uBirthday='" + uBirthday + '\'' +
                ", uSex='" + uSex + '\'' +
                ", uImg='" + uImg + '\'' +
                ", uCategory=" + uCategory +
                ", uArea='" + uArea + '\'' +
                '}';
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getoNumber() {
        return oNumber;
    }

    public void setoNumber(Integer oNumber) {
        this.oNumber = oNumber;
    }

    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public String getuUsername() {
        return uUsername;
    }

    public void setuUsername(String uUsername) {
        this.uUsername = uUsername;
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public Date getuBirthday() {
        return uBirthday;
    }

    public void setuBirthday(Date uBirthday) {
        this.uBirthday = uBirthday;
    }

    public String getuSex() {
        return uSex;
    }

    public void setuSex(String uSex) {
        this.uSex = uSex;
    }

    public String getuImg() {
        return uImg;
    }

    public void setuImg(String uImg) {
        this.uImg = uImg;
    }

    public Integer getuCategory() {
        return uCategory;
    }

    public void setuCategory(Integer uCategory) {
        this.uCategory = uCategory;
    }

    public String getuArea() {
        return uArea;
    }

    public void setuArea(String uArea) {
        this.uArea = uArea;
    }

    public User(Integer uId, Integer oNumber, Integer sId, String uUsername, String uPassword, String uName, Date uBirthday, String uSex, String uImg, Integer uCategory, String uArea) {
        this.uId = uId;
        this.oNumber = oNumber;
        this.sId = sId;
        this.uUsername = uUsername;
        this.uPassword = uPassword;
        this.uName = uName;
        this.uBirthday = uBirthday;
        this.uSex = uSex;
        this.uImg = uImg;
        this.uCategory = uCategory;
        this.uArea = uArea;
    }

    public User() {
    }
}
